/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.Clases;

/**
 *
 * @author Cristobal
 */
public class Concesionaria {
    private AutoBuilder autoBuilder;
    
    public void constructAuto(){
        autoBuilder.crearAuto();
        autoBuilder.buildMarca();
        autoBuilder.buildModelo();
        autoBuilder.buildMotor();
        autoBuilder.buildMotor();
    }
    public void setAutoBuilder(AutoBuilder ab){
        autoBuilder = ab;
    }
    
    public Auto getAuto(){
        return autoBuilder.getAuto();
    }
}
